package com.ego.vo;

import java.util.List;

/**
 * @author 袁梦达 2019012364
 */
public class CartListVo {
    private Integer cartId;
    private String userNumber;
    private double sumPrice;
    private List<CartItemVo> cartItemVoList;

    public CartListVo() {
    }

    public CartListVo(Integer cartId, String userNumber, double sumPrice, List<CartItemVo> cartItemVoList) {
        this.cartId = cartId;
        this.userNumber = userNumber;
        this.sumPrice = sumPrice;
        this.cartItemVoList = cartItemVoList;
    }

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }

    public List<CartItemVo> getCartItemVoList() {
        return cartItemVoList;
    }

    public void setCartItemVoList(List<CartItemVo> cartItemVoList) {
        this.cartItemVoList = cartItemVoList;
    }
}
